<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>新闻内容</title>
</head>
<body style="font-family:Mongolian Baiti81;moz-writing-mode: vertical-lr;
			writing-mode: vertical-lr;
			-webkit-writing-mode: vertical-lr;
			-o-writing-mode: vertical-lr;
			-ms-writing-mode: tb-lr; writing-mode: tb-lr">
<c:forEach items="${newsContent}" var="newsContent">
<p><b>${newsContent.news_title}</b></p>
</c:forEach>
<table  height="700px" >
			<c:forEach items="${newsContent}" var="newsContent">
	  			<tr>
		  			<td align="center"><b>${newsContent.news_author}</b></td>
		  			<td align="center"><fmt:formatDate value="${newsContent.news_time}" type="date" pattern="yyyy-MM-dd"/></td>
		  		</tr>
		  		
		  		<tr>
		  			<td colspan="2" align="center">【新闻内容】</td>
		  		</tr>
		  		<tr>
		  			<td colspan="2" align="center">${newsContent.news_content}</td>
		  		</tr>
	  		</c:forEach>
		</table>
 			
</body>
</html>